<script>
	export default {
		globalData: {
			userId: '1',
			iserror: false
		},
		
		onLaunch: function() {
			// this.loadIcon()
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			// loadIcon() {
			// 	const link = document.createElement('link')
			// 	link.rel = 'stylesheet'
			// 	link.href = '//at.alicdn.com/t/font_2775971_26wy0tz92qg.css'
			// 	document.getElementsByTagName('head')[0].appendChild(link)
			// }
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";

	/*每个页面公共css */
	page {
		height: 100%;

		.icon {
			width: 1em;
			height: 1em;
			vertical-align: -0.15em;
			fill: currentColor;
			overflow: hidden;
		}
	}
</style>
